home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / tests / display.tst < prev    next >
Text File  |  1999-09-16  |  717b  |  31 lines

  1. //FICHIER_DE_TEST ADD NAME=DISPLAY.TST,SSI=0
  2. //
  3. z=poly(0,'z')
  4. //lines(20,60)
  5. format('v',10)
  6. num=[ (((((1)*z-2.6533333)*z+2.6887936)*z-1.2916784)*z+0.2911572)*...
  7.      z-0.0243497
  8.       (((((1)*z-2.6533333)*z+2.6887936)*z-1.2916784)*z+0.2911572)*...
  9.      z-0.0243497
  10.      (((1)*z )*z )*z+1
  11.      0]
  12. den = [ ((((1)*z-1.536926)*z+0.8067352)*z-0.1682810)*z+0.0113508
  13. ((((1)*z-1.536926)*z+0.8067352)*z-0.1682810)*z+0.0113508
  14. ((1)*z )*z
  15. 1]
  16. num',den'
  17. [num;den]
  18. [num den]
  19. r=num./den
  20. r'
  21. //
  22. digits='abcdefghijklmnopqrstuvwxyz'
  23. numbers='1234567890'
  24. majuscules='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  25. symbols=',./;''[] \ =-!\$%^&*()_+~:""[]| @'
  26. [numbers;digits]
  27. [numbers digits;digits numbers]
  28. [numbers digits+digits+digits]
  29. ans';
  30. [ans ans]
  31.